package studiodiva.portfolio.client.model;

import studiodiva.portfolio.client.lib.lang.Base;
import studiodiva.portfolio.client.model.titles.Titles;
import studiodiva.portfolio.client.model.titles.TitlesImpl;

public class ApplicationImpl extends Base implements Application {

  private final PageHistory history;
  private final Titles titles;

  public ApplicationImpl() {
    history = new PageHistory(this);
    titles = new TitlesImpl(this);
    history.initialize();
  }

  @Override
  public Application getApplication() {
    return this;
  }

  @Override
  public Titles getTitles() {
    return titles;
  }

}
